import React, { Component } from 'react';
export default class Son extends Component{
    constructor(data){
        super(data)
    }
    render(){
        return(
           
            <div>
                 <p>准备在这里接收ref</p>
                 <input ref={this.props.temp} type="text"/>
            </div>
        )
    }
}